﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    .style1
    {
        width: 44%;
    }
</style>
<asp:Panel ID="panel1" runat="server">
<script type="text/javascript">
    function select_project(type) {
        var pid = '<%=HttpContext.Current.Request["PID"] %>';
        var url = 'ZS_SelectUser.aspx?TYPE=' + type + "&pid="+pid + "&rd=" + Math.random();
        var feature = "dialogWidth:" + 500 + "px;dialogHeight:" + 450 + "px;scroll:yes;status:no;help:no;center:1";
        var project_info = window.showModalDialog(url, '', feature);
        if (project_info != undefined && project_info.length > 1) {
            document.getElementById('<%=产权人.ClientID %>').value = project_info[1];
            document.getElementById('<%=txtZSPID.ClientID %>').value = project_info[0];
        }
    }
    function checkNull() {
        var t1 = document.getElementById('<%=产权人.ClientID %>').value;
        if (t1 == null || t1 == "") {
            alert('请点击选择人员进行人员绑定！');
            return false;
        } else {
        return true;
        }
    }
    function showw(){
        document.getElementById("tr1").style.display='none';
        document.getElementById("tr2").style.display='none';
        document.getElementById("chose1").style.display='none';
    }
    function displaycc(){
        document.getElementById("chose1").style.display='none';
    }
    function dipsaytr(){
        document.getElementById("tr2").style.display='block';
    }
    function displayshow(){
        document.getElementById('<%=btnQKXY.ClientID %>').style.display="none";
        document.getElementById("tr1").style.display='none';
        document.getElementById("tr2").style.display='none';
        document.getElementById("chose1").style.display='none';
    }
    window.onload=function aa(){
        var tt=document.getElementById('<%=txtID.ClientID %>').value;
        var t1=document.getElementById('<%=txt楼层房间号.ClientID %>');
        if(tt==null||tt==""){ t1.onfocus="";}
    };
</script>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
        margin-top: 1px">
        <tr>
                <td valign="middle" height="30">
                    <font style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left; color: black">
                        &nbsp;房间信息 </font>
                </td>
            </tr>
        </table>

        <table style="margin-top: 1px;border:#ff3300 0px solid;" class="window_tab_list" border="1" cellspacing="0" cellpadding="0" width="98%" align="center" >
            <tbody>
             
                <tr>
                    <th colspan="2" class="style1" style="text-align:center">
                        房间<asp:Label ID="房间号码" runat="server"></asp:Label>
                        信息 
                    </th>
                  
                </tr>
             
                <tr>
                    <td  style="text-align:right; line-height: 20px;">
                        房屋地址： 
                        </td>
                        <td>
                        <asp:TextBox ID="txt房屋地址" runat="server" style="margin-bottom: 0px" 
                            Width="200px"></asp:TextBox>
                    </td>
                </tr>
                 <tr>
                    <td style="text-align: right; " class="style1">
                        楼层房间号：
                    </td>
                    <td>
                        <asp:DropDownList ID="IsDropList"   runat="server"  AutoPostBack="true">
                            <asp:ListItem Value="输入楼层房间号">输入楼层房间号</asp:ListItem>   
                            <asp:ListItem Value="待定">待定</asp:ListItem>                                 
                        </asp:DropDownList>
                        
                         <asp:TextBox ID="txt楼层房间号" runat="server"  ></asp:TextBox>
                    </td>
                </tr>
                  <tr>
                    <td style="text-align: right" class="style1">
                        建筑面积：
                    </td>
                    <td style="text-align: left">
                        <asp:TextBox ID="txt建筑面积" runat="server"></asp:TextBox>平方米<span style="font-size:12px;color:Red;">(如果是多套房屋，请进行累加填入总面积)</span>
                    </td>
                </tr>
                 
                  <tr>
                    <td style="text-align: right" class="style1">
                        房屋类型：
                    </td>
                    <td>
                        <asp:DropDownList ID="ddl房屋类型" runat="server">
                            <asp:ListItem Text="公租房"></asp:ListItem>
                            <asp:ListItem Text="限价房"></asp:ListItem>
                            <asp:ListItem Text="廉租房"></asp:ListItem>
                            <asp:ListItem Text="产权调换房"></asp:ListItem>
                            <asp:ListItem Text="经适房"></asp:ListItem>
                            <asp:ListItem Text="其它房源"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style1">
                        房源类型：
                    </td>
                    <td>
                        <asp:DropDownList ID="ddl房源" runat="server">
                            <asp:ListItem Text="补偿方案准备房源"></asp:ListItem>
                            <asp:ListItem Text="新增安置房源"></asp:ListItem>
                            <asp:ListItem Text="期房房源"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                 <tr>
                    <td style="text-align: right" class="style1">
                        房型：
                    </td>
                    <td>
                        <asp:DropDownList ID="ddl房型" runat="server">
                            <asp:ListItem Text="一室一厅"></asp:ListItem>
                            <asp:ListItem Text="两室一厅"></asp:ListItem>
                            <asp:ListItem Text="三室一厅"></asp:ListItem>
                            <asp:ListItem Text="四室一厅"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                
                <tr id="tr1">
                    <td style="text-align: right" class="style1">
                        <asp:Label ID="label产权人" runat="server" Text="产权人："></asp:Label>
                    </td>
                    <td>
                       <asp:TextBox ID="产权人" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr id="tr2" style="display:none;">
                    <td style="text-align: right" class="style1">
                        <asp:Label ID="label承租人" runat="server" Text="承租人："></asp:Label>
                    </td>
                    <td>
                       <asp:TextBox ID="承租人" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr id="oppanle">
                    <td colspan="2" align="center">
                        <input type="button" value="选择人员" onclick="select_project('bdry')" id="chose1" />&nbsp;&nbsp;
                        <asp:Button ID="btnSave" runat="server" Text="保存" />
                        <asp:Button ID="btnReturn" runat="server" Text="返回" />
                        <asp:Button ID="btnQKXY" runat="server" Text="签署协议" />
                    </td>
                </tr>
            </tbody>
        </table>
            <div style="display:none;">
                <asp:TextBox ID="txtZSPID" runat="server"></asp:TextBox>
                <asp:TextBox ID="txtPID" runat="server"></asp:TextBox>
                <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
               
            </div>
            <asp:TextBox ID="txt楼盘类型" Visible="false" runat="server" Text="1"></asp:TextBox>
    <CBW:MPPersistence  ID="Persistence1" runat="server"></CBW:MPPersistence>
</asp:Panel>